COM AT^SACD test
COM Accessory Data
COM V1.0	T. Kleinmann	26.11.2004
COM V1.1	T. Kleinmann	24.02.2005


from attglobals import *

# ToDo: Clarify mode 2 and data for mode2

####################################################################################################
MESSAGE('These tests are considered to be the responsibility of accessory testers in ULM. \n\
The tests will be performed with real hardware.')
####################################################################################################


AT^SACD=?
WAITFOR(1,'^SACD: (0-2)'

AT^SACD?
WAITFOR(1,'^SACD: 0')

AT^SACD=1
WAIT FOR OK

AT^SACD?
WAITFOR(1,'^SACD: 1')

AT^SACD=2
WAIT FOR OK

MESSAGE('Please play a media file! - Press OK when file is being played!')
AT^SACD?
WAIT FOR(1,'^SACD:')


AT^SACD?
WAITFOR(1,'^SACD: 2')


AT^SACD